@import "../see/components";

#chatPage{
  body{
    background: #f5f5f5;
  }
  .chatPage-top{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8vh;
    line-height: 8vh;
    text-align: center;
    background: #fefefe;
    font-size: 0.34rem;
    color: #333333;
    span {
      position: absolute;
      top: 50%;
      display: block;
      margin-top: -0.3rem;
      width: 0.6rem;
      height: 0.6rem;
    }
    .goback {
      left: 0.2rem;
      background: url(/imgs/see/selfMedia/selfMediaPage-goback.png) no-repeat left center;
      background-size: 0.6rem 0.6rem;
    }
    .chatPage-topImg {
      margin-top: -0.35rem;
      right: 0.2rem;
      background: url(/imgs/friend/index/chatPage-topImg.png) no-repeat left center;
      background-size: 0.6rem 0.6rem;
    }
  }
  .chatPage-butt{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8vh;
    line-height: 8vh;
    text-align: center;
    background: #fefefe;
    font-size: 0;
    border-top: 1px solid #eee;
    input{
      margin: 0.2rem auto 0;
      width: 72%;
      height: 0.6rem;
      background: transparent;
      border: none;
      font-size: 0.3rem;
      color: #999;
    }
    span{
      position: absolute;
      top: 50%;
      display: block;
      margin-top: -0.3rem;
      width: 0.6rem;
      height: 0.6rem;
    }
    .chatPage-yyin{
      left: 0.2rem;
      background: url(/imgs/friend/index/chatPage-yyin.png) no-repeat left center;
      background-size: 0.6rem 0.6rem;
    }
    .chatPage-add{
      right: 0.2rem;
      background: url(/imgs/friend/index/chatPage-add.png) no-repeat left center;
      background-size: 0.6rem 0.6rem;
    }
  }
  .chatPage-cent{
    margin-top: 8vh;
    padding: 0 0.3rem;
    height: 84vh;
    overflow-y: auto;
    font-size: 0.2rem;
    color: #7b7b7b;
    >div{
      position: relative;
      margin-bottom: 0.5rem;
    }
    .centlist-head{
      position: absolute;
      top: 0.1rem;
      display: block;
      width: 0.72rem;
      height: 0.72rem;
      background-size: 100%;
      border-radius: 50%;
      background: #ccc;
    }
    p{
      margin-bottom: 0.1rem;
    }
    .centlist-cent{
      position: relative;
      padding: 0.22rem 0.2rem 0.22rem 0.3rem;
      font-size: 0.32rem;
      text-align: left;
      color: #333333;
      background: #fff;
      border-radius: 0.08rem;
    }
    .centlist-cent:after{
      content: "";
      width: 0;
      height: 0;
      position:absolute;
      top:0.1rem;
      border-top: 0.2rem solid #fff;
    }
    .chatPage-centData{ margin-bottom: 0;}
    .centlist-img{
      img{
        width: 100%;
      }
    }
  }
  .chatPage-centData{
    height: 0.8rem;
    line-height: 0.8rem;
    text-align: center;
    span{
      margin-left: 0.1rem;
    }
  }
  .chatPage-centlist{
    padding:0 0.59rem 0 0.96rem;
    .centlist-head{
      left: 0;
    }
    .centlist-cent:after{
      border-left: 0.2rem solid transparent;
      left: -0.18rem;
    }
  }
  .chatPage-centlist1{
    text-align: right;
    padding: 0 0.96rem 0 0.59rem;
    .centlist-head{
      right: 0;
    }
    .centlist-cent:after{
      border-right: 0.2rem solid transparent;
      right: -0.18rem;
    }
  }
}
